package com.tanhua.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fff
 * @date 2021/12/11 13:29
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_questionnaire")
public class Questionnaire extends BasePojo implements Serializable {

    private String id; //NOT NULL AUTO_INCREMENT,
    private Integer level;//DEFAULT NULL COMMENT '问卷等级:1初级 2中级 3 高级',
    private String name;// NOT NULL COMMENT '问卷名称',
    private String cover; // NOT NULL COMMENT '问卷封面图',
    private Integer star;// DEFAULT NULL COMMENT '题目星级:2,3,5星级',
    private Date created; // DEFAULT NULL,
    private Date updated;// DEFAULT NULL,
    @TableField("isLock")
    private Integer isLock;//0kai  1锁

}
